package cn.wsalix.admin.form;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.form.RelatedForm;
import cn.wsalix.admin.entity.SysRole;
import cn.wsalix.admin.entity.SysUser;

@Data
@EqualsAndHashCode(callSuper = false)
public class UserRoleForm extends RelatedForm {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7575169428836073892L;
	private Long Id;
	/**
	 * 
	 */
	private Long userId;
	/**
	 * 
	 */
	private Long roleId;
	private SysRole role;

	private SysUser user;
	@Override
	public Long getPreFixId() {
		return userId;
	}

	@Override
	public void setPreFixId(Long preFixId) {
		this.userId = preFixId;
	}

	@Override
	public Long getPostFixId() {
		return roleId;
	}

	@Override
	public void setPostFixId(Long postFixId) {
		this.roleId = postFixId;
	}
}
